/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.caresms.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the City_Master service. Represents a row in the &quot;sms_City_Master&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.caresms.model.impl.City_MasterModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.caresms.model.impl.City_MasterImpl}.
 * </p>
 *
 * @author cc
 * @see City_Master
 * @see com.caresms.model.impl.City_MasterImpl
 * @see com.caresms.model.impl.City_MasterModelImpl
 * @generated
 */
public interface City_MasterModel extends BaseModel<City_Master> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a city_ master model instance should use the {@link City_Master} interface instead.
	 */

	/**
	 * Returns the primary key of this city_ master.
	 *
	 * @return the primary key of this city_ master
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this city_ master.
	 *
	 * @param primaryKey the primary key of this city_ master
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the city ID of this city_ master.
	 *
	 * @return the city ID of this city_ master
	 */
	public long getCityId();

	/**
	 * Sets the city ID of this city_ master.
	 *
	 * @param CityId the city ID of this city_ master
	 */
	public void setCityId(long CityId);

	/**
	 * Returns the country ID of this city_ master.
	 *
	 * @return the country ID of this city_ master
	 */
	public long getCountryId();

	/**
	 * Sets the country ID of this city_ master.
	 *
	 * @param CountryId the country ID of this city_ master
	 */
	public void setCountryId(long CountryId);

	/**
	 * Returns the city name of this city_ master.
	 *
	 * @return the city name of this city_ master
	 */
	@AutoEscape
	public String getCityName();

	/**
	 * Sets the city name of this city_ master.
	 *
	 * @param CityName the city name of this city_ master
	 */
	public void setCityName(String CityName);

	/**
	 * Returns the field1 of this city_ master.
	 *
	 * @return the field1 of this city_ master
	 */
	@AutoEscape
	public String getField1();

	/**
	 * Sets the field1 of this city_ master.
	 *
	 * @param field1 the field1 of this city_ master
	 */
	public void setField1(String field1);

	/**
	 * Returns the field2 of this city_ master.
	 *
	 * @return the field2 of this city_ master
	 */
	public boolean getField2();

	/**
	 * Returns <code>true</code> if this city_ master is field2.
	 *
	 * @return <code>true</code> if this city_ master is field2; <code>false</code> otherwise
	 */
	public boolean isField2();

	/**
	 * Sets whether this city_ master is field2.
	 *
	 * @param field2 the field2 of this city_ master
	 */
	public void setField2(boolean field2);

	/**
	 * Returns the field3 of this city_ master.
	 *
	 * @return the field3 of this city_ master
	 */
	public int getField3();

	/**
	 * Sets the field3 of this city_ master.
	 *
	 * @param field3 the field3 of this city_ master
	 */
	public void setField3(int field3);

	/**
	 * Returns the field4 of this city_ master.
	 *
	 * @return the field4 of this city_ master
	 */
	public Date getField4();

	/**
	 * Sets the field4 of this city_ master.
	 *
	 * @param field4 the field4 of this city_ master
	 */
	public void setField4(Date field4);

	/**
	 * Returns the field5 of this city_ master.
	 *
	 * @return the field5 of this city_ master
	 */
	@AutoEscape
	public String getField5();

	/**
	 * Sets the field5 of this city_ master.
	 *
	 * @param field5 the field5 of this city_ master
	 */
	public void setField5(String field5);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(City_Master city_Master);

	public int hashCode();

	public CacheModel<City_Master> toCacheModel();

	public City_Master toEscapedModel();

	public String toString();

	public String toXmlString();
}